color chooser: Fix a problem with show-editor=TRUE
authorMatthias Clasen <mclasen@redhat.com>
Wed, 26 Oct 2016 18:28:17 +0000 (14:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 26 Oct 2016 18:33:07 +0000 (14:33 -0400)
commite2e8231ca9dc52fcfe5d850555a8b0ae21577522
tree2fc4c5ab6198f340b19b83a95d7b52f8417b7cca
parent75358e4d8dce3790a55649ba867833118c56a64d
color chooser: Fix a problem with show-editor=TRUE

For some reason we end up allocating the colorplane widget
before it is realized, and then never initialize the surface.

Fix this by explicitly doing it on realize.

https://bugzilla.gnome.org/show_bug.cgi?id=773474
gtk/gtkcolorplane.c